package com.shixun.milktea.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zrs
 * @since 2022-06-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tbl_orderdetail")
@ApiModel(value="Orderdetail对象", description="")
public class Orderdetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单明细编号")
    @TableId(value = "orderDetail_id", type = IdType.AUTO)
    private Integer orderdetailId;

    @ApiModelProperty(value = "奶茶实体类")
    private Mt mt;

    @ApiModelProperty(value = "奶茶温度：正常冰/少冰/去冰/多冰;0/1/2/3")
    @TableField("orderDetail_tmp")
    private String orderdetailTmp;

    @ApiModelProperty(value = "奶茶甜度:五分甜/七分甜/十分甜;0/1/2")
    @TableField("orderDetail_sweet")
    private String orderdetailSweet;

    @ApiModelProperty(value = "加料:仙草/珍珠/椰果/布丁/西米/绿豆/青稞/多肉;0/1/2/3/4/5/6/7;前五种1块钱-后三种两块钱")
    @TableField("orderDetail_add")
    private String orderdetailAdd;

    @ApiModelProperty(value = "奶茶数量")
    @TableField("orderDetail_num")
    private Integer orderdetailNum;

    @ApiModelProperty(value = "奶茶大订单编号")
    @TableField("order_id")
    private Integer orderId;

}
